package com.kws.merchant.domain.po;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author : zhangbenting
 * @date : 2024/11/5 15:31
 * @Version: 1.0
 */
@Data
public class UserOrderPo {

    @ApiModelProperty("收货地址ID")
    @NotNull(message = "收货地址ID不能为空")
    private Long memberReceiveAddressId;

    @ApiModelProperty("支付方式(0银联支付 1微信支付 2支付宝支付)")
    @NotNull(message = "支付方式不能为空")
    private Integer payWay;

    @ApiModelProperty("支付类型(0web端 1App端)")
    @NotNull(message = "支付方式不能为空")
    private Integer payType;

    @ApiModelProperty("电站id")
    private String stationId;

    @ApiModelProperty("电站类型(1-光伏 2-储能 3-风点 4-充电桩 5-微网)")
    private Integer stationType;

    @ApiModelProperty("商品信息列表")
    @NotNull(message = "商品信息列表不能为空")
    List<ConfirmGoodsPo> confirmGoodsPoList;

}
